﻿using ShoppingEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IShoppingBll
{
    public interface ISalesrRecordBll : IBaseBll<SalesrRecord>
    {

        /// <summary>
        /// 获取商品统计展示分页
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="count"></param>
        /// <param name="commodityName"></param>
        /// <returns></returns>
        object GetSalesrRecordPageList(int page, int limit, out int count, string commodityName);

        /// <summary>
        /// 获取商品名字、数量
        /// </summary>
        /// <param name="commodityName"></param>
        /// <param name="num"></param>
        /// <returns></returns>
        object GetSalesrRecord();

        /// <summary>
        /// 获取退货商品的名字、数量
        /// </summary>
        /// <returns></returns>
        object GetReturnRecord();
    }
}
